<table>
  <tbody>
    <tr>
      <th>Short content:</th>
      <td><?php echo $cms_entry->getShortContent() ?></td>
    </tr>
    <tr>
      <th>Long content:</th>
      <td><?php echo $cms_entry->getLongContent() ?></td>
    </tr>
    <tr>
      <th>File:</th>
      <td>
          <a href="/uploads/entry/<?php echo $cms_entry->getCmsFile() ?>_d.<?php $cms_entry->getCmsFile()->getExtension() ?>">
              <img src="/uploads/entry/<?php echo $cms_entry->getCmsFile() ?>_m.<?php $cms_entry->getCmsFile()->getExtension() ?>">              
          </a>
      </td>
    </tr>
    <tr>
      <th>Type:</th>
      <td><?php echo $cms_entry->getCmsEntryType() ?></td>
    </tr>
    <tr>
      <th>Menu:</th>
      <td><?php echo $cms_entry->getCmsMenu() ?></td>
    </tr>
    <tr>
      <th>Is active:</th>
      <td><?php if($cms_entry->getIsActive()) echo 'yes'; else echo 'not'; ?></td>
    </tr>
    <tr>
      <th>Position:</th>
      <td><?php echo $cms_entry->getPosition() ?></td>
    </tr>
    <tr>
      <th>Created at:</th>
      <td><?php echo $cms_entry->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th>Updated at:</th>
      <td><?php echo $cms_entry->getUpdatedAt() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a class="button" href="javascript:createDialog('<?php echo url_for('entry/edit?id='.$cms_entry->getId()) ?>')">Edit</a>
